﻿using System;
using System.Collections.Generic;
using YFurion.Entities;

namespace UpperComputer.Application
{
    public class BaseMenuResultDto : BaseMenuDto, IAudited
    {
        public BaseMenuResultDto()
        {
            Childrens = new List<BaseMenuResultDto>();
            BaseMenuButton = new List<BaseMenuButtonResultDto>();
        }

        public int Type { get; set; } = 1;

        public long CreatorUserId { get; set; }

        public DateTime CreationTime { get; set; }

        public long LastModifierUserId { get; set; }

        public DateTime? LastModificationTime { get; set; }

        public ICollection<BaseMenuResultDto> Childrens { get; set; }

        public ICollection<BaseMenuButtonResultDto> BaseMenuButton { get; set; }
    }
}
